package com.atguigu.service;

import com.atguigu.pojo.NginxServiceConfigPhp;
import com.atguigu.pojo.Page;

import java.util.List;

public interface NginxServiceConfigPhpService {
    public void addNginxServiceConfigPhp(NginxServiceConfigPhp nginxServiceConfigPhp);
    public void updateNginxServiceConfigPhp(NginxServiceConfigPhp nginxServiceConfigPhp);
    public void deleteNginxServiceConfigPhpById(String id);
    public NginxServiceConfigPhp queryNginxServiceConfigPhpById(String id);
    public List<NginxServiceConfigPhp> queryNginxServiceConfigPhps();
    public List<NginxServiceConfigPhp> queryNginxServiceConfigPhpsByServiceId(String serviceId);
    public List<NginxServiceConfigPhp> queryNginxServiceConfigPhpsByPort(String port);
    public List<NginxServiceConfigPhp> queryNginxServiceConfigPhpsByServiceIdDomainPort(String serviceId,String domain,String port);
    public List<NginxServiceConfigPhp> queryNginxServiceConfigPhpsByProjectModuleId(String projectModuleId);
    public List<NginxServiceConfigPhp> queryNginxServiceConfigPhpsByProjectModuleIdAndDeployEnvId(String projectModuleId,String deployEnvId);
    public Page page(Integer pageNo, Integer pageSize);
}
